Activity

constructor(activityClass: Class<A>, flags: Set<IntentFlag> = emptySet(), launchType: NavigationSpec.Activity.LaunchType = LaunchType.NoResult)

Parameters

A

the type of android.app.Activity to navigate to

activityClass

Class of the A to navigate to

flags

Set of IntentFlag to add to the navigation Intent

launchType

The LaunchType to determine how the Activity should be launched


constructor(activityClass: Class<A>, flags: Set<IntentFlag> = emptySet(), requestCode: Int?)

Deprecated

Legacy constructor

Replace with

NavigationSpec.Activity(activityClass, flags, launchType)